package com.guodu.dao;

import java.util.List;

import com.guodu.entity.MaterialStore;
import com.guodu.entity.MaterialstoreStatus;
import com.guodu.entity.Units;
import com.guodu.vo.MaterialStoreQueryVo;

public interface MaterialStoreDao {
	List<MaterialStore> findByVo(MaterialStoreQueryVo materialStoreQueryVo,Units units,int curPage , int pageSize);
	int findSizeByVo(MaterialStoreQueryVo materialStoreQueryVo,Units units);
	MaterialStore findById(String id);
	void del(String id);
	void delByStoreId(String storeId);
	void delByIds(String[] ids);
	void save(MaterialStore entity);
	void examine(String ids,Long status);
	void update(MaterialStore entity);
	void changeStatus(List<MaterialstoreStatus> entities);
	List<MaterialstoreStatus> findStatus(String id);
}
